package top.tangyh.lamp.care.vo.query;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 观察项记录M删除入参
 * </p>
 *
 * @author:
 * @since:  
 */
@Data
public class ObsvRecordCodesVO implements Serializable {

	@Schema(description = "病人住院号",requiredMode = Schema.RequiredMode.REQUIRED)
	@NotBlank(message = "病人住院号不能为空")
	private String hospitalNumber;

	@Schema(description = "记录时间点,说明:  13位时间戳",requiredMode = Schema.RequiredMode.REQUIRED)
	@NotNull(message = "记录时间点,不能为空")
	private Long recTime;

	@Schema(description = "要删除的记录的观察项标识.说明：如果是结构体，还包括子项code",requiredMode = Schema.RequiredMode.REQUIRED)
	@NotEmpty(message = "要删除的记录的观察项标识,不能为空")
	@Valid
	private List<String> obsvCodeList;
}
